package com.eastfair.certificate.service;

import com.eastfair.boot.service.SuperCacheService;
import com.eastfair.boot.service.SuperService;
import com.eastfair.certificate.dto.CertificateAuthDTO;
import com.eastfair.certificate.entity.CertificateAuth;
import com.eastfair.certificate.vo.CertificateAuthVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 证件审核表
 * </p>
 *
 * @author ligang
 * @date 2022-07-22
 */
public interface CertificateAuthService extends SuperCacheService<CertificateAuth> {
    /**
     * do转vo
     * @param model
    */
    CertificateAuthVO doToVo(CertificateAuth model);
   /**
    * do转vo
    * @param modelList
   */
    List<CertificateAuthVO> doToVos(List<CertificateAuth> modelList);


   /**
    * 通用查询
    *
    * @param modelDTO DTO
    * @param ids 主键id集合
    * @return list
    */
   List<CertificateAuth> list(CertificateAuthDTO modelDTO, List<Long> ids);

  /**
  * 通用查询
  *
  * @param modelDTO DTO
  * @param ids 主键id集合
  * @return list
  */
  List<CertificateAuth> listOfCache(CertificateAuthDTO modelDTO, List<Long> ids);
}
